package com.minsu.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("reviews")
public class Review {
    @TableId
    private String reviewId;
    
    private String listingId;
    private String userName;
    private BigDecimal rating;
    private String content;
    private LocalDate reviewDate;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
} 